home *** CD-ROM | disk | FTP | other *** search
/ Chip 2005 June / ccd0605.iso / Software / Freeware / Programare / highlight / highlight-W32GUI-2.2-10b-Setup.exe / {app} / langDefs / pro.lang < prev    next >
Text File  |  2004-07-06  |  2KB  |  41 lines

  1. # Prolog language definition file
  2. #
  3. # Author: Andre Simon
  4. #   Mail: andre.simon1@gmx.de
  5. #   Date: 08.02.04
  6. # ------------------------------------------
  7. # This file is a part of highlight, a free source code converter released under the GPL.
  8. #
  9. # The file is used to describe keywords and special symbols of programming languages.
  10. # See README in the highlight directory for details.
  11. #
  12. # New definition files for future releases of highlight are always appreciated ;)
  13. #
  14. # ----------
  15. # andre.simon1@gmx.de
  16. # http:/www.andre-simon.de/
  17.  
  18. $KW_LIST(kwa)= true fail at_end_of_stream nl repeat halt is rem mod
  19.  
  20.  
  21. $KW_LIST(kwb)=call catch throw unify_with_occurs_check var atom integer float atomic compound nonvar number functor arg copy_term clause current_predicate asserta assertz retract
  22. abolish findall bagof setof current_input current_output set_input set_output open close stream_property at_end_of_stream set_stream_position get_char get_code peek_char
  23. peek_code put_char put_code nl get_byte peek_byte put_byte read_term read write_term write writeq write_canonical op current_op char_conversion current_char_conversion once
  24. atom_length atom_concat sub_atom atom_chars atom_codes char_code number_chars number_codes set_prolog_flag current_prolog_flag halt sin cos atan exp log sqrt
  25.  
  26. $STRINGDELIMITERS=" '
  27.  
  28. $SL_COMMENT=%
  29.  
  30. $ML_COMMENT=/* */
  31.  
  32. $ALLOWNESTEDCOMMENTS=false
  33.  
  34. $IGNORECASE=false
  35.  
  36. $DIRECTIVE=#
  37.  
  38. $ESCCHAR=\
  39.  
  40. $SYMBOLS= ( ) [ ] { } , ; : & | < > !  = / *  + -
  41.